import { service } from "@/utils/request";

/**
 * 
 * @param {商用-档案审核管理};
 * @param {列表查询}
 * @returns 
 * 
 */
export const getList = (data: object) => {
  return service({
    url: '/comm/review/selectByLike',
    method: 'post',
    data
  })
};

/**
 * 
 * @param {商用-档案审核管理};
 * @param {档案审核}
 * @returns 
 * 
 */
export const reviewFiles = (data: object) => {
  return service({
    url: '/comm/review/review',
    method: 'post',
    data
  })
};

/**
 * 
 * @param {商用-档案审核管理};
 * @param {档案审核}
 * @returns 
 * 
 */
export const downloadTable = (data: object) => {
  return service({
    url: '/comm/review/excel',
    method: 'post',
    data,
    responseType:'blob'
  })
};
